package com.woniu.atms.vo.pre.buyticket;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.time.LocalDate;
import java.util.Date;

/**
 * 用户进行座位查询输入的数据视图
 */
@Getter
@Setter
public class ScheduleSetListVO {
    @NotNull(message = "班次的id无效")
    @Min(value = 1,message = "班次id范围出错")
    private Integer id;
    @NotNull(message = "选择的日期无效")
    private LocalDate date;
}
